<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>数组遍历</title>
		<script>
			var arr1 = new Array(2,4,5,6,8,1,3)
			var arr2 = [2,4,5,6,8,1,3];
			for(var i=0; i<arr1.length; i++){
				console.log(arr1[i]);
			}
			console.log("-----------");
			for(var i=0; i<arr2.length; i++){
				console.log(arr2[i]);
			}
		</script>
	</head>
	<body>
	</body>
</html>
